package com.aos.erp.manager.model.sys.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @program: erp
 * @description: 岗位职责
 * @author: tanzhiyu
 * @create: 2018-11-05 10:08
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("岗位职责")
public class PositionVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("岗位ID")
    private String id;

    @ApiModelProperty("部门code")
    private String depCode;

    @ApiModelProperty(value = "分校部门code", hidden = true)
    private String depCodeF;

    @ApiModelProperty(value = "报名点部门code", hidden = true)
    private String depCodeB;

    @ApiModelProperty("职位代码")
    private String code;

    @NotNull(message = "职位名称不能为空")
    @ApiModelProperty("职位名称")
    private String name;

    @ApiModelProperty("职位描述")
    private String remarks;

    @ApiModelProperty(value = "操作人ID", hidden = true)
    @TableField("operator_id")
    private Long operatorId;
}
